<template>
  <div id="app">
    <div style="height: 1px"></div>
    <div id='menu' class="center">
      <Menu mode="horizontal" :theme="theme1" active-name="1" style="width: 700px">
        <menu-item name="1" to="/">
          <Icon type="ios-paper" />
          随机选择
        </menu-item>
        <menu-item name="2" to="/items">
          <Icon type="ios-people" />
          item管理
        </menu-item>
      </Menu>
    <!--    <img src="./assets/logo.png">-->
    <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {
      theme1: 'light'
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.center {
  position: fixed;
  height: 100px;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
}
</style>
